from .dao import mongo_find
from .dao import mongo_insert

'''
:parameter None
'''
def info_return():
    return mongo_find()
'''
:param data(dict)
'''
def info_insert(name,is_mask,code_status,temp):
    data ={
        'name':name,
        'is_mask':is_mask,
        'code_status':code_status,
        'temp':temp
    }
    mongo_insert(data)
